// 导入数据库操作模块
const db = require('../db/index')
// 导入处理密码的模块
const bcrypt = require('bcryptjs')
const path = require("path");
const fs = require("fs");


// 获取-用户频道
exports.getAllChannels = (req, res) => {
    const channelsList = [
        {
            id: 0,
            name: '恋爱'
        }, {
            id: 1,
            name: '星座'
        }, {
            id: 2,
            name: '恋人规则'
        }, {
            id: 3,
            name: 'MBTI性格'
        }, {
            id: 4,
            name: '小说'
        }, {
            id: 5,
            name: '彩礼'
        }, {
            id: 6,
            name: '电影'
        }, {
            id: 7,
            name: '陪嫁'
        }, {
            id: 8,
            name: '约会'
        }, {
            id: 9,
            name: '礼物'
        }, {
            id: 10,
            name: '白月光'
        }, {
            id: 11,
            name: '朱砂痣'
        }, {
            id: 12,
            name: '美食'
        }, {
            id: 13,
            name: '喵星人'
        }, {
            id: 14,
            name: '汪星人'
        }, {
            id: 15,
            name: '见家长'
        }]
    res.send({
        status: 0,
        channelsList
    })
}
